package com.ihelp.rest.mis.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
* 上网时长表
* 类名称：UserTime   
* 类描述：     
* 创建时间：2013-4-1 上午09:42:56    
* 备注：   
* @version
 */
@Table(name = "USERTIME")
@Entity
public class UserTime implements Serializable{

	private static final long serialVersionUID = 1L;
	
	@Id
    @Column(name = "ID")
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "guid")
	private String id;
	
	/**
	 * 计算机名
	 */
	@Column(name="COMPUTERNAME")
	private String computerName;
	
	/**
	 * 地址
	 */
	@Column(name="URL")
	private String url;
	
	/**
	 * 访问时长
	 */
	@Column(name="BROWSETIME")
	private String browseTime;
	
	/**
	 * 上网时间
	 */
	@Column(name="BROWSEDATE")
	private String browseDate;
	
	/**
	 * 百分百
	 */
	@Column(name="PERCENT")
	private String rercent;
	
	@ManyToOne
	@JoinColumn(name="ADDUSER")
	private SysUser addUser;
	
	@Column(name="ADDTIME")
	private String addTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getComputerName() {
		return computerName;
	}

	public void setComputerName(String computerName) {
		this.computerName = computerName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getBrowseTime() {
		return browseTime;
	}

	public void setBrowseTime(String browseTime) {
		this.browseTime = browseTime;
	}

	public String getBrowseDate() {
		return browseDate;
	}

	public void setBrowseDate(String browseDate) {
		this.browseDate = browseDate;
	}

	public String getRercent() {
		return rercent;
	}

	public void setRercent(String rercent) {
		this.rercent = rercent;
	}

	public SysUser getAddUser() {
		return addUser;
	}

	public void setAddUser(SysUser addUser) {
		this.addUser = addUser;
	}

	public String getAddTime() {
		return addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}
	
}
